<template>
    <div class="header">
        <div class="left">
            <slot name="left"></slot>
        </div>
        <div class="middle">
            <slot name="middle"></slot>
        </div>
        <div class="right">
            <slot name="right"></slot>
        </div>
    </div>
</template>

<script>
export default {
};
</script>

<style lang="less" scoped>
.header{
    height: 44px;
    line-height: 44px;
    background-color: pink;
    text-align: center;
    display: flex;
    color: white;
    font-weight: 700;
    .left{
        flex: 1;
    }
    .right{
        flex: 1;
    }
    .middle{
         flex: 3;
         
    }
}

</style>

